package com.dz.customer.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dz.common.entity.IdEntity;

import java.io.Serializable;

/**
 * <p>
 * 客户基本表
 * </p>
 *
 * @author star
 * @since 2017-06-27
 */
@TableName("t_customer")
public class Customer implements Serializable, IdEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId("fid")
	private Long id;

	@TableField("fopenId")
	private String openId;
	/**
	 * 手机号
	 */
	@TableField("fmobile")
	private String mobile;
	/**
	 * 客户名称
	 */
	@TableField("fname")
	private String name;
	/**
	 * 客户别名
	 */
	@TableField("fnickName")
	private String nickName;
	/**
	 * 客户头像
	 */
	@TableField("favatarUrl")
	private String avatarUrl;
	/**
	 * 客户性别
	 */
	@TableField("fgender")
	private Integer gender;
	/**
	 * 客户所在国家
	 */
	@TableField("fcountry")
	private String country;
	/**
	 * 客户所在省份
	 */
	@TableField("fprovince")
	private String province;
	/**
	 * 客户所在城市
	 */
	@TableField("fcity")
	private String city;
	/**
	 * 客户所在地址
	 */
	@TableField("faddress")
	private String address;
	/**
	 * 客户来源
	 */
	@TableField("fsourcesid")
	private Long sourcesid;
	/**
	 * 客户来源描述
	 */
	@TableField("fsourcesDesc")
	private String sourcesDesc;
	/**
	 * 是否删除
	 */
	@TableField("fisDeleted")
	private Integer isDeleted = 0;
	/**
	 * 备注
	 */
	@TableField("fremark")
	private String remark;
	/**
	 * 创建时间
	 */
	@TableField("fcreateDate")
	private Date createDate;
	/**
	 * 修改时间
	 */
	@TableField("fupdateDate")
	private Date updateDate;
	/**
	 * 创建者
	 */
	@TableField("fcreateBy")
	private String createBy;
	/**
	 * 修改者
	 */
	@TableField("fupdateBy")
	private String updateBy;
	/**
	 * text_field1
	 */
	@TableField("text_field1")
	private String textField1;
	/**
	 * text_field2
	 */
	@TableField("text_field2")
	private String textField2;
	/**
	 * text_field3
	 */
	@TableField("text_field3")
	private String textField3;
	/**
	 * text_field4
	 */
	@TableField("text_field4")
	private String textField4;
	/**
	 * text_field5
	 */
	@TableField("text_field5")
	private String textField5;
	/**
	 * num_field1
	 */
	@TableField("num_field1")
	private BigDecimal numField1;
	/**
	 * num_field2
	 */
	@TableField("num_field2")
	private BigDecimal numField2;
	/**
	 * num_field3
	 */
	@TableField("num_field3")
	private BigDecimal numField3;
	/**
	 * date_field1
	 */
	@TableField("date_field1")
	private Date dateField1;
	/**
	 * date_field2
	 */
	@TableField("date_field2")
	private Date dateField2;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getSourcesid() {
		return sourcesid;
	}

	public void setSourcesid(Long sourcesid) {
		this.sourcesid = sourcesid;
	}

	public String getSourcesDesc() {
		return sourcesDesc;
	}

	public void setSourcesDesc(String sourcesDesc) {
		this.sourcesDesc = sourcesDesc;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getTextField1() {
		return textField1;
	}

	public void setTextField1(String textField1) {
		this.textField1 = textField1;
	}

	public String getTextField2() {
		return textField2;
	}

	public void setTextField2(String textField2) {
		this.textField2 = textField2;
	}

	public String getTextField3() {
		return textField3;
	}

	public void setTextField3(String textField3) {
		this.textField3 = textField3;
	}

	public String getTextField4() {
		return textField4;
	}

	public void setTextField4(String textField4) {
		this.textField4 = textField4;
	}

	public String getTextField5() {
		return textField5;
	}

	public void setTextField5(String textField5) {
		this.textField5 = textField5;
	}

	public BigDecimal getNumField1() {
		return numField1;
	}

	public void setNumField1(BigDecimal numField1) {
		this.numField1 = numField1;
	}

	public BigDecimal getNumField2() {
		return numField2;
	}

	public void setNumField2(BigDecimal numField2) {
		this.numField2 = numField2;
	}

	public BigDecimal getNumField3() {
		return numField3;
	}

	public void setNumField3(BigDecimal numField3) {
		this.numField3 = numField3;
	}

	public Date getDateField1() {
		return dateField1;
	}

	public void setDateField1(Date dateField1) {
		this.dateField1 = dateField1;
	}

	public Date getDateField2() {
		return dateField2;
	}

	public void setDateField2(Date dateField2) {
		this.dateField2 = dateField2;
	}

}
